package com.nexus.core.sys.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.nexus.core.query.annotation.QueryCondition;
import com.nexus.core.query.annotation.QueryType;
import com.nexus.core.service.dto.BaseDTO;
import com.nexus.core.service.dto.TreeDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统字典Type
 *
 * @Date 2025/7/28 15:08
 * @Author Administrator
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class SysDictTypeDTO extends TreeDTO<SysDictTypeDTO> {

    /**
     * 字典编码
     */
    @ExcelProperty("字典编码")
    @QueryCondition(tableField = "code", type = QueryType.EQ)
    private String code;

    /**
     * 系统字典
     */
    @ExcelProperty("系统字典")
    @QueryCondition(tableField = "sys", type = QueryType.EQ)
    private Boolean sys;
}